﻿<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0,minimal-ui" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>大山云南山泉官网</title>
    <script type="text/javascript" src="/js/jquery.min.js"></script>
    <script src="/js/swiper.min.js" type="text/javascript"></script>   
    <link href="/css/swiper.min.css" rel="stylesheet" type="text/css" />
    <link href="/css/m_main.css" rel="stylesheet" type="text/css" />   
    <meta http-equiv="windows-Target" contect="_top">
    <style>
     .swiper-container {
        width: 100%;
        height: 100%;
    } 
    .swiper-slide 
    {       
        text-align: center;
        font-size: 18px;
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
    .swiper-pagination-bullet {
	    width: 8px;
	    height: 8px;
	    display: inline-block;
	    border-radius: 100%;
	    border: 1px solid #fff;
   }  
   .swiper-pagination-bullet-active
    {       
        background: #fff;
    }   
   </style>  
</head>
<body>
    <div id="firstDiv" style="position: relative; opacity: 0;">
        <div id="top" style="width: 100%">
            <img src="/img/top.jpg" width="100%" alt="" />
            <div class="logo" style="position: absolute; left:2%; top: 0px;width: 24%; height: 3.5rem;" onclick="javascript:window.location.href='index.aspx'"></div>
            <div class="tel"  style="position: absolute; left:42%; top: 0px;"></div>
            <div id="btnBox" style="position: absolute; right: 0px; top: 0px;">
            </div>
        </div>
        <div id="banner" style="width: 100%;">
             <div class="swiper-container swiper1">
                  <div class="swiper-wrapper">
                    <div class="swiper-slide"><img src="/upfiles/res/20161030161158885111374.png" width="100%" alt="" /></div><div class="swiper-slide"><img src="/upfiles/res/20161030161046679111374.png" width="100%" alt="" /></div>
                  </div>
                  <div class="swiper-pagination swiper-pagination1"></div>                   
              </div>            
        </div>
        <div class="p1_bj">
            <img src="/img/p1_bj.png" width="100%" alt="" />
            <a href="news.aspx"><div class="actividiv"></div></a>
            <div class="videodiv" alt="手机视频 " onclick="showvideo('res/201606301159445393204442.mp4')" ></div>
            <a href="news.aspx"><div class="newsdiv"></div></a>
            <div id="bottom" style="text-align: center; color: #6a6a6a;">
                Copyright ©2016 云南大山饮品有限公司, All Rights Reserved | 滇ICP备07002438号
            </div>
        </div>
        <!--menu start-->
        <div class="navBox"></div>
        <div class="navTwoBtn"> 
            <div class="newgray" style="margin-top:15%;"><a href="company.aspx">关于大山</a></div>
            <div class="newgray"><a href="process.aspx">大山历程</a></div>
            <div class="newgray"><a href="honor.aspx">企业荣誉</a></div>
            <div class="newgray"><a href="base.aspx">生产基地</a></div>   
            <div class="newgray"><a href="service.aspx">大山公益</a></div>         
        </div>
        <div class="navTwoBtn"> 
            <div class="newgray" style="margin-top:15%;"><a href="news.aspx">公司动态</a></div>
            <div class="newgray"><a href="pronews.aspx">产品动态</a></div>
            <div class="newgray"><a href="economy.aspx">行业动态</a></div>
            <div class="newgray"><a href="videolist.aspx">最新视频</a></div>   
        </div>
        <div class="navTwoBtn"> 
            <div class="newgray" style="margin-top:15%;"><a href="prolist2.aspx">桶装水</a></div>
            <div class="newgray"><a href="prolist1.aspx">瓶装水</a></div>                        
        </div>        
        <div class="navTwoBtn"> 
            <div class="newgray" style="margin-top:15%;"><a href="join.aspx">诚邀加盟</a></div>
            <div class="newgray"><a href="jobshow.aspx">人才招聘</a></div>                        
        </div>        
        <div class="navAll">            
            <div class="newgray" style="margin-top:15%;"><a href="index.aspx" style="color:#fff">首　页</a></div>
            <div class="newgray showTwoBtn"><a value="0" href="javascript:;"><&nbsp;公司简介</a></div>
            <div class="newgray showTwoBtn"><a value="1" href="javascript:;"><&nbsp;新闻中心</a></div>
            <div class="newgray showTwoBtn"><a value="2" href="prolist.aspx" ><&nbsp;产品展示</a></div>
            <div class="newgray"><a href="showwrite.aspx">客户留言</a></div>
            <div class="newgray showTwoBtn"><a value="3" href="javascript:;"><&nbsp;加入大山</a></div>
            <div class="newgray"><a href="about.aspx">联系我们</a></div>         
        </div>
        <!--menu end-->
    </div>
    <video src=""  id="videodiv" controls   style="position: absolute; z-index:100; top:0px; left: 0px;display:none;" name="videodiv">
	    <source src="images/12345.mp4"></source>
    </video>
</body>
</html>
<script type="text/javascript">
var pingKuan;
var biLi;
function setPosition() {
    pingKuan = $("#firstDiv").width();
    biLi = pingKuan / 640;
    $(".tel").css({
        "width": biLi * 260+ "px",
        "height":biLi*93+"px",
    })
    $("#btnBox").css({
        "width": biLi * 93+ "px",
        "height":biLi*93+"px",
    })
    $(".p1_bj").css({
        "top":biLi*659+"px"
    }) 
    $(".navBox,.navTwoBtn,.navAll").css({
       "top":biLi*100+"px"
    })
    $(".newgray").css({
       "height":biLi*80+"px",
       "line-height":biLi*80+"px",
       "font-size":biLi*30+"px"      
    })
    $("#bottom").css({
       "font-size": biLi * 16 + "px",
       "margin-top": biLi * 14 + "px",  
       "line-height": biLi * 60 + "px",
       "height":biLi*80+ "px"   
    })
    $(".swiper-pagination").css({
       "bottom": biLi * 120 + "px",
    })
    $("#firstDiv").css({
        "opacity": "1"
    })
    $(".actividiv,.videodiv,.newsdiv").css({
        "width":biLi*187+"px",
        "height":biLi*200+"px",
        "top":biLi*90+"px"
    })
}
window.onload = function () {
    setTimeout(function () {
        setPosition();
        var swiper = new Swiper('.swiper1', {
            pagination: '.swiper-pagination1',
            paginationClickable: true,                
        }); 
    }, 100);     
}
var od = "touchstart" in window ? "touchstart" : "click";
$(".tel").bind(od,function(){
    window.location.href="tel:087196133";
})
 $("#btnBox").bind(od, function () {
	$(document).on("touchmove", function (ev) {
		ev.preventDefault();
	});	 
	$(".navBox").show().animate({ opacity: 1 });
	$(".navAll").addClass('move')
	return false;
});
 $(".showTwoBtn").bind("click", function () {
	var index = $(this).find("a").attr("value");  
	$(".showTwoBtn").css("background","#007dc6")	
	$(this).css("background", "#00629b");
	$(".navTwoBtn").hide();
	$(".navTwoBtn").eq(index).css({ "right": "-40%", "opacity": "1" });
	$(".navTwoBtn").eq(index).show().animate({ right: "40%" });
	return false;
});
$(".navTwoBtn").bind(od, hideFn);
$(".navBox").bind(od, hideFn);
$(".navAll").bind(od, clickhideFn);
function showvideo(videourl){
    var u = navigator.userAgent;
    if (u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1) {
        $("#videodiv").css("width", "100%");      
        $("#videodiv").attr("src","upfiles/" + videourl);
        document.getElementById('videodiv').style.display = 'block';
        document.getElementById('videodiv').play();
    }else {
        $("#videodiv").css({
            "width": $("#firstDiv").width(),
            "height": $("#firstDiv").height(),
            "left": ( $("#firstDiv").width() - $("#firstDiv").width() ) / 2
        });
        $("#videodiv").attr("src","upfiles/" + videourl);
        document.getElementById('videodiv').style.display = 'block';
        setTimeout(function () { document.getElementById('videodiv').play(); }, 1000);
    }
}
document.getElementById('videodiv').addEventListener("ended", end_playing, false);
document.getElementById('videodiv').addEventListener("pause", end_playing, false);
function end_playing() {   
    document.getElementById('videodiv').style.display = 'none';
    $("#videodiv").css("width", "0%");
}	
function hideFn(){
	clickhideFn();	
	$(document).off("touchmove");	
}
function clickhideFn(){
	$(".navAll,.navTwoBtn").removeClass('move');
	$(".navTwoBtn").hide()
	$(".navBox").animate({opacity:0},function(){
		$(this).hide()
	})
	$(document).off("touchmove");
}
</script>
<script>
    (function (window) { // Prevent Cross-Frame Scripting attacks
        if (window.location !== window.top.location)
            window.top.location = window.location;
    })(this);
    if (this.top.location !== this.location && (this.top.location = this.location)) {
        window.top.location = window.location;
    }
</script>
<style>  
        html { visibility:hidden; }  
</style>  
<script>
    if (self == top) {
        document.documentElement.style.visibility = 'visible';
    } else {
        top.location = self.location;
    }  
</script>